package com.example.styrepositories.mapper;
import com.example.stymodel.model.Apple;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.Mapping;



import java.util.List;
/**
 * @author wcq
 */
@Mapper
public interface AppleMapper {
    void insert(Apple apple);
    void update(Apple apple);
    void delete(Integer id);
    List<Apple> selectAll();
    Apple selectOne(Integer id);
}
